package com.yami.shop.dao;

import com.yami.shop.bean.cashregisterapp.AppCashRegisterSystemUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppCashRegisterSystemUserMapper extends BaseMapper<AppCashRegisterSystemUser>{

    void deleteCashRegisterSystemUserByIds(@Param("ids") List<Long> ids);

    AppCashRegisterSystemUser getByName(String name);

    AppCashRegisterSystemUser checkUserPassword(AppCashRegisterSystemUser appCashRegisterSystemUser);

    int updateUserPassword(AppCashRegisterSystemUser appCashRegisterSystemUser);

    AppCashRegisterSystemUser getUserByPhone(String phone);

	AppCashRegisterSystemUser getAppCashRegisterSystemUserByUserId(Long userId);

}
